import request from '@/utils/request'
// import { praseStrEmpty } from "@/utils/ruoyi";
// 物品列表
export function goodsList(data) {
  return request({
    url: '/wasm/product/getList',
    method: 'get',
    params: data
  })
}
// 添加物品
export function addGoods(data) {
  return request({
    url: '/wasm/product/addProduct',
    method: 'post',
    data: data
  })
}
// 修改仓库信息
export function updataStore(data) {
  return request({
    url: '/wasm/warehouse/updateWareHouse',
    method: 'post',
    data: data
  })
}

// 删除
export function delLu(id) {
  return request({
    url: '/wasm/product/deleteProduct/' + id,
    method: 'DELETE',
  })
}